@extends('app')

@section('content')
    @component('form.form')
        @include('form.hidden',['name'=>'version_id','val' => $version_id??''])

        @include('form.select',[
                'label' => '上级目录',
                'name'  => 'pid',
                'first'=> '顶级目录',
                'checked'=> $pid??'',
                'val'   => $topList,
            ])

        @include('form.input',[
                'label' => '目录名称',
                'name'  => 'name',
                'val'   => $model->name??''
            ])

        @include('form.submit',['reload'=>'parent.location.reload();'])
    @endcomponent
@endsection
